/*
 * Copyright (c) 2013.
 * 游戏服务器核心代码编写人陈磊拥有使用权
 * 联系方式：E-mail:13638363871@163.com ;qq:502959937
 * 个人博客主页：http://my.oschina.net/chenleijava
 */

package com.dc.gameserver.serverCore.model.gamemodel;

import javolution.util.FastTable;

/**
 * @author 石头哥哥
 *         Date: 13-12-4</br>
 *         Time: 上午11:37</br>
 *         Package: com.dc.gameserver.serverCore.model.Gamemodel</br>
 *         注解：技能model
 */
public class SkillModel implements Model {

    private Integer ID=0;   //技能编号
    private String  name="";
    private String  information="";
    private Byte  type=0;//装备部位/类型
    private Integer   maxLevel=0;
    private Integer  reduceMagic=0;
    private Byte itemType=0;//itemType:1 装备 2.秘籍 3.道具 4.技能
    private Byte element=0;  //五行属性
    private Integer  elementNum=0; //环境五行需求值
    private FastTable<singleSkillModel> singleSkillModelFastTable=null;

    public Integer getElementNum() {
        return elementNum;
    }

    public void setElementNum(Integer elementNum) {
        this.elementNum = elementNum;
    }

    public Byte getElement() {
        return element;
    }

    public void setElement(Byte element) {
        this.element = element;
    }
    public Byte getItemType() {
        return itemType;
    }

    public void setItemType(Byte itemType) {
        this.itemType = itemType;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public Integer getMaxLevel() {
        return maxLevel;
    }

    public void setMaxLevel(Integer maxLevel) {
        this.maxLevel = maxLevel;
    }

    public Integer getReduceMagic() {
        return reduceMagic;
    }

    public void setReduceMagic(Integer reduceMagic) {
        this.reduceMagic = reduceMagic;
    }

    public FastTable<singleSkillModel> getSingleSkillModelFastTable() {
        return singleSkillModelFastTable;
    }

    public void setSingleSkillModelFastTable(FastTable<singleSkillModel> singleSkillModelFastTable) {
        this.singleSkillModelFastTable = singleSkillModelFastTable;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    /**
     * @return
     */
    @Override
    public Integer getId() {
        return this.ID;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
